/*
 *  Class name: PlayerRestClient.java
 *  Version: 1.0
 *  Date: 15.12.2013
 */
package cz.muni.fi.pa165.soccergamesarchive.restclient.rest.entity;

import cz.muni.fi.pa165.soccergamesarchive.businesslayer.dtos.PlayerDTO;
import cz.muni.fi.pa165.soccergamesarchive.restclient.rest.EntityRestClient;
import java.util.List;
import javax.ws.rs.core.GenericType;

/**
 *
 * @author Michal Ďuriš
 */
public class PlayerRestClient extends EntityRestClient<PlayerDTO> {

    public PlayerRestClient() {
        super(PlayerDTO.class);
    }

    @Override
    protected String getEntityPath() {
        return "player";
    }

    @Override
    protected GenericType<List<PlayerDTO>> getGenericEntityTypeList() {
        return new GenericType<List<PlayerDTO>>() {
        };
    }

}
